package com.ssm.lzh.controller;

import com.ssm.lzh.service.WorktableService;
import com.ssm.lzh.vo.WorktableView;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
public class WorktableController {


    @Resource
    private WorktableService worktableService;


    @RequestMapping("/lzh/queryAllData")
    @ResponseBody
    public WorktableView queryAllData(){
        return  this.worktableService.queryAllData();
    }



}
